// /wx/v1/sample/listHistoryApplyUserByOpenId

import http from '../utils/http'
// 
/**
 *  @parms resquest 请求地址 例如：http://197.82.15.15:8088/request/...
 *  @param '/testIp'代表vue-cil中config，index.js中配置的代理
 */

const nucleicMessageApi = {
	getApplyInfo(params) {
		return http.get('/wx/v1/sample/getApplyInfoById', params)
	},
    getUserList(params){
        return http.get("/wx/v1/sample/getUserList",params)
    },
    getListHistory(params){
        return http.get("/wx/v1/sample/listHistoryApplyUserByOpenId",params)
    },
    getJsApiConfig(params){
        return http.get("/wx/v1/authJs/getJsApiConfig",params)
    },
    getIdCardFront(params){
        return http.post("/wx/v1/baidu/getIdCardFront",params)
    },
    getPayCount(params){
        return http.post("/wx/v1/sample/getPayCount",params)
    },
    addUserInfo(params){
        return http.post("/wx/v1/sample/addUserInfo",params)
    },
    payUser(params){
        return http.post("/wx/v1/sample/payUser",params)
    },
    getUserInfoById(params){
        return http.get("/wx/v1/sample/getUserInfoById",params)
    },
    deleteApplyUser(params){
        return http.put("/wx/v1/sample/deleteApplyUser",params)
    },
}
export default nucleicMessageApi
